func go/types.isConstType

5 uses

	go/types (current package)
		assignments.go#L121: 	assert(isConstType(x.typ))
		conversions.go#L41: 	case constArg && isConstType(T):
		conversions.go#L104: 		if IsInterface(T) && !isTypeParam(T) || constArg && !isConstType(T) || x.isNil() {
		decl.go#L434: 		if !isConstType(t) {
		predicates.go#L23: func isConstType(t Type) bool      { return isBasic(t, IsConstType) }